<div class="box box-info">
  <div class="box-header with-border">
    <h3 class="box-title">图书分类编辑</h3>
  </div>
  <!-- /.box-header -->
  <!-- form start -->
  <form [formGroup]="formModel" (ngSubmit)="submit()" class="form-horizontal">
    <div class="box-body">
      <div class="form-group">
        <label class="col-sm-2 control-label">书类编码</label>
        <div class="col-sm-10">
          <input formControlName="typeCode" class="form-control" placeholder="请输入书类编码">
        </div>
      </div>
      <div class="form-group">
        <label class="col-sm-2 control-label">书类名称</label>
        <div class="col-sm-10">
          <input formControlName="typeName" class="form-control" placeholder="请输入书类名称">
        </div>
      </div>
    </div>
    <!-- /.box-body -->
    <div class="box-footer">

      <button type="submit" class="btn btn-default">确 定</button>
      <span class="error-msg">{{responseErr}}</span>
    </div>
    <!-- /.box-footer -->
  </form>
</div>
